package com.dcloud.core.source.impl;

import com.dcloud.core.source.RdbmsSource;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.SuperBuilder;

import java.sql.Connection;

@Data
@ToString
@SuperBuilder
@NoArgsConstructor
public class InfluxDbSource extends RdbmsSource {
    /**
     * 用户名
     */
    protected String username;

    /**
     * 密码
     */
    protected String password;

    /**
     * 数据源类型
     */
    protected Integer sourceType;

    /**
     * 地址
     */
    protected String url;

    /**
     * 库
     */
    private String schema;

    /**
     * 连接信息
     */
    private Connection connection;
}
